import random
d ={item :random.randint(1,100) for item in range(4)}
print(d)

# 创建两个列表
list={100,200,300}
list02={1,2,3}
d1 = {key :value for key,value in zip(list,list02)}
print(d1)